import React from "react";
import {HashRouter, Route, Switch, Redirect} from "react-router-dom";
import Login from "../component/login/Login";
import Home from "../component/home/Home";
import {login} from "../actions/Login";
import PagesList from '../page-list';
import ShowImage from '../component/ShowImag';
function Index() {
    return (
        <HashRouter>
            <Switch>
                <Route path="/" exact component={ShowImage}/>
                {/* <Redirect to="/home" component={Home} /> */}
                <Route path="/home" component={Home}/>
            </Switch>
        </HashRouter>
    );
}

export default Index;
